package org.nanhill.smgp;

/**
 * Title:         DeliverResp
 * Description:   API函数SMGPDeliver的返回数据结构
 * Copyright:     Copyright (c) 2003
 * Company:       ZTE Corporation
 * @author:       Yinchaodong
 * @Date:         2004/01/03
 * @version:      1.0
 */

public class SMGPReceiveResp {

  private byte[] sMsgID;
  private int    nMsgFormat;
  private String sSrcTermID;
  private int    nIsReport;
  private int    nMsgLen;
  private byte[] sMsgContent;
  private String sDestTermID;
  private String sRecvTime;
  private byte[] sReserve;

  public SMGPReceiveResp() {
    super();
  }

  public void SetMsgID(byte[] msgid)
  {
    sMsgID = msgid;
  }

  public byte[] GetMsgID()
  {
    return sMsgID;
  }
  
  public void SetReserve(byte[] reserve)
  {
    sReserve = reserve;
  }
  
  public byte[] GetReserve()
  {
    return sReserve;
  }
  
  public void SetMsgFormat(int msgformat)
  {
    nMsgFormat = msgformat;
  }

  public int GetMsgFormat()
  {
    return nMsgFormat;
  }

  public void SetSrcTermID(String termid)
  {
    sSrcTermID = termid;
  }

  public String GetSrcTermID()
  {
    return sSrcTermID;
  }

  public void SetIsReport(int i)
  {
    nIsReport = i;
  }

  public int GetIsReport()
  {
    return nIsReport;
  }

  public void SetMsgLen(int i)
  {
    nMsgLen = i;
  }

  public int GetMsgLen()
  {
    return nMsgLen;
  }

  public void SetMsgContent(byte[] content)
  {
    sMsgContent = content;
  }

  public byte[] GetMsgContent()
  {
    return sMsgContent;
  }

  public void SetDestTermID(String id)
  {
    sDestTermID = id;
  }

  public String GetDestTermID()
  {
    return sDestTermID;
  }

  public void SetRecvTime(String time)
  {
    sRecvTime = time;
  }

  public String GetRecvTime()
  {
    return sRecvTime;
  }

}